package dao;

import vo.News;

import java.sql.SQLException;
import java.util.List;

public interface INewDao {
    List<News> getAllNew()throws SQLException;
    News getOnNewById(int id)throws SQLException;
    boolean deleteBtid(int id)throws SQLException;
}
